<div id="partmessage">
    <h2>配件管理&gt;配件信息查询</h2>
    <div id="search">
        <div>
            <input type="text" placeholder="请输入配件名" id="pname">
            <input type="text" placeholder="请输入配件编号" id="pcode">
            <input type="text" placeholder="按类别查找" id="aname">
            <button id="btn">查询</button>
            <button id="add">新增</button>
        </div>
    </div>
    <div>
        <table border="1px" style="border-collapse: collapse;">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>配件编号</th>
                    <th>配件名称</th>
                    <th>含税成本价</th>
                    <th>销售价</th>
                    <th>库存数量</th>
                    <th>最近出库日期</th>
                    <th>类别</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="tbody">
                <!-- <tr>
                    <td>1</td>
                    <td>124</td>
                    <td>castrol</td>
                    <td>333.25</td>
                    <td>480</td>
                    <td>555</td>
                    <td>2023-5-13 13:45</td>
                    <td>油品</td>
                    <td><button onclick="upMess">修改</button><button onclick="deMess">删除</button></td>
                </tr> -->
            </tbody>
        </table>
    </div>
    <div id="partmessageadd">
        <h2>配件管理&gt;配件信息查询&gt;新增配件信息</h2>
        <ul>
            <li><span>配件编号:</span><input type="text" id="pCode"></li>
            <li><span>配件名称:</span><input type="text" id="pName"></li>
            <li><span>含税成本价:</span><input type="text" id="cost"></li>
            <li><span>销售价:</span><input type="text" id="price"></li>
            <li>
                <div id="compare">*销售价不得低于成本价*</div>
            </li>
            <li><span>库存数量:</span><input type="text" id="bank"></li>
            <li>
                <span>所属类别:</span>
                <select id="pcategory">
                    <option value="1">发动机</option>
                    <option value="2">燃油系统</option>
                    <option value="3">冷却系统</option>
                    <option value="4">机体</option>
                    <option value="5">养护品</option>
                    <option value="6">车身钣金件</option>
                    <option value="7">油品</option>
                    <option value="8">刹车转向系统</option>
                    <option value="9">电子件</option>
                </select>
            </li>
            <li><button id="uphold">确认</button></li>
        </ul>
    </div>
    <div class="pages">
        <button>上一页</button>
        <ul></ul>
        <button>下一页</button>
    </div>
    <ul class="updateul">
        <!-- <li>
            <h3>请修改配件信息</h3>
        </li>
        <li>
            <span>序号</span>
            <input value="" type="text" disabled>
        </li>
        <li>
            <span>请修改配件编号</span>
            <input value="" type="text" id="upPcode">
        </li>
        <li>
            <span>请修改配件名称</span>
            <input value="" type="text" id="upPname">
        </li>
        <li>
            <span>请修改含税成本价</span>
            <input value="" type="text" id="upCost">
        </li>
        <li>
            <span>请修改售价</span>
            <input value="" type="text" id="upPrice">
        </li>
        <li>
            <span>请修改库存数量</span>
            <input value="" type="text" id="upBank">
        </li>
        <li>
            <span>请选择配件类别</span>
            <select id="upCategory">
                <option value="1">发动机</option>
                <option value="2">燃油系统</option>
                <option value="3">冷却系统</option>
                <option value="4">机体</option>
                <option value="5">养护品</option>
                <option value="6">车身钣金件</option>
                <option value="7">油品</option>
                <option value="8">刹车转向系统</option>
                <option value="9">电子件</option>
            </select>
        </li>  
        <li><button id="confirmBtn">确认修改</button></li> -->
    </ul>
</div>